﻿using Sipek.Common;
using System;


namespace SoftPhone
{
    public class MyAccount : IAccount
    {
        private static string _AccountName;
        private static string _DisplayName;
        private static string _DomainName;
        private static string _HostName;
        private static string _Id;
        private static string _Password;
        private static string _UserName;

        public string AccountName
        {
            get { return _AccountName; }
            set { _AccountName = value; }
        }

        public string DisplayName
        {
            get
            {
                return _DisplayName;
            }
            set { _DisplayName = value; }
        }

        public string DomainName
        {
            get
            {
                return _DomainName;
            }
            set { _DomainName = value; }
        }

        public string HostName
        {
            get
            {
                return _HostName;
            }
            set { _HostName = value; }
        }

        public string Id
        {
            get
            {
                return _Id;
            }
            set { _Id = value; }
        }

        public int Index
        {
            get
            {
                return 0;
            }
            set { }
        }

        public string Password
        {
            get
            {
                return _Password;
            }
            set { _Password = value; }
        }

        public string ProxyAddress
        {
            get
            {
                return "";
            }
            set { }
        }

        public int RegState
        {
            get
            {
                return 0;
            }
            set { }
        }

        public ETransportMode TransportMode
        {
            get
            {
                return ETransportMode.TM_UDP;
            }
            set { }
        }

        public string UserName
        {
            get
            {
                return _UserName;
            }
            set { _UserName = value; }
        }
    }
}
